import request from "../utils/request";

export function getPlanePage(params) {
  return request({
    url:'/getPlanePage',
    method:'get',
    params
  })
}

export function deletePlane(params) {
  return request({
    url:'/deletePlane',
    method:'delete',
    params
  })
}

export function addPlane(data) {
  return request({
    url:'/addPlane',
    method:'post',
    data
  })
}

export function getPlaneMessage(params) {
  return request({
    url:'/getPlaneMessage',
    method:'get',
    params
  })
}

export function modifyPlaneMessage(data) {
  return request({
    url:'/modifyPlaneMessage',
    method:'post',
    data
  })
}


